package com.chinasolf.service;

import com.chinasoft.model.hosp.Department;
import com.chinasoft.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    //上传科室
    void saveDept(Map<String, Object> map);
    //分页查询
    Page<Department> selectPage(int page, int limit);
    //删除科室
    void removeDept(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    Department getDeptName(String hoscode, String depcode);
}
